package ch.netcetera.planningpoker.client.admin.create;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.HasHandlers;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class CreateGameView extends Composite implements
        CreateGamePresenter.IView {

    private static CreateGameViewUiBinder uiBinder = GWT
            .create(CreateGameViewUiBinder.class);

    interface CreateGameViewUiBinder extends UiBinder<Widget, CreateGameView> {
    }

    @UiField
    HasHandlers createGame;

    public CreateGameView() {
        initWidget(uiBinder.createAndBindUi(this));
    }

    @Override
    public Widget asWidget() {
        return this;
    }

    @Override
    public void addToSlot(Object slot, Widget content) {

    }

    @Override
    public void removeFromSlot(Object slot, Widget content) {

    }

    @Override
    public void setInSlot(Object slot, Widget content) {

    }

    @Override
    public HasHandlers getCreateGame() {
        return createGame;
    }

}
